package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.BtyMdPsfymx;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdCaiwuParam;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdPsfymxParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyMdPsfymxResult;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyMdSfcResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 配送费用明细 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-10-25
 */
public interface BtyMdPsfymxMapper extends BaseMapper<BtyMdPsfymx> {

    /**
     * 获取列表
     *
     * @author 
     * @Date 2021-10-25
     */
    List<BtyMdPsfymxResult> customList(@Param("paramCondition") BtyMdPsfymxParam paramCondition);

    /**
     * 获取map列表
     *
     * @author 
     * @Date 2021-10-25
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BtyMdPsfymxParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author 
     * @Date 2021-10-25
     */
    Page<BtyMdPsfymxResult> customPageList(@Param("page") Page page, @Param("paramCondition") BtyMdPsfymxParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author 
     * @Date 2021-10-25
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BtyMdPsfymxParam paramCondition);

    List<BtyMdPsfymxResult> findAllPsfymx(@Param("param") BtyMdCaiwuParam param);

    IPage findAllSfc(@Param("page") Page pageContext, @Param("param") BtyMdCaiwuParam param);

    List<BtyMdSfcResult> findSfcDate(@Param("param") BtyMdCaiwuParam param);

    void insertPsfymx(@Param("list") List<BtyMdPsfymx> psfyList);
}
